Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Apple CEO



  Is Google still in China?

According to Tencent Tech, data from traffic statistics agency CNZZ shows that Google only ranks fifth in China's search engine market calculating by page views. Its market share is 2.13% in China. and although Baidu is still at the first place, its market share also declined and the its market share is less than 70%. Overall, Google's market share in China drops continuously. At the same time, Baidu also faces competition from other search engines, especially from new entrants Qihoo. Qihoo laun...

   Google,China,Market share     2013-07-05 07:12:58

  Yahoo to change name to Altaba and becomes Alibaba's father

Yahoo, one of the most successful Internet giants in later 1990s, is now becoming a company living with selling assets(offices, domain names) and holding the stocks from Alibaba. Its core business which it was proud of has been sold to Verison with $4.8 billion as disclosed in some document submitted to SEC. Now it's starting the process of changing its name to Altaba. After the acquisition, the current Yahoo CEO Marissa Mayer will resign from the board. But the company will still keep some val...

   YAHOO,FATHER,ALIBABA,ALTABA,CHINA,NEWS     2017-01-15 04:07:24

  Find the kth smallest number in an array

This is an classical question, the general solution to this question is first using sorting algorithm to sort the array, then get the kth number in the array, the complexity is O(nlogn), we can also use selective sort or head sort to, the complexity of selective sort is O(kn) and heap sort is O(nlogk). The better solution is to use quick sort to find the kth smallest number, the complexity is O(n), the worst case cost is O(n^2). But today we introduce one more solution which has the worst case c...

   Sort, Quick sort, Search,Smallest     2013-01-09 06:20:54

  Microsoft is to promote 80-inch Win8 Tablet PC

Microsoft VP Frank Shaw told Wired that Microsoft is going to offer 80-Inch Windows 8 Tablets PC. He said that Microsoft CEO Steve Ballmer has one such tablet PC, “Steve Ballmer has an 80-inch Windows 8 tablet in his office. He’s got rid of his phone, he’s got rid of his note paper. It’s touch-enabled and it’s hung on his wall.”He mentioned the display screen of the 80-inch Windows 8 tablet PC will not be made by Sharp. Earlier this year, at the CES in Las...

   tablet pc,Window 8,80-inch,Microsoft     2012-05-28 06:05:33

  Why do I need a debugger?

  When I begin to learn a new programming language, I will try and master the debugger for it as early as possible. For example, in 2013, while I touched the Go, there seems only gdb for use. Although gdb itself is not a good choice (From Debugging Go Code with GDB): As a consequence, although GDB can be useful in some situations, it is not a reliable debugger for Go programs, particularly heavily concurrent ones. But at that time there was no other choice. So after delve&nb...

       2017-07-21 22:53:16

  Manipulating JavaScript Arrays

Our first tutorial on JavaScript arrays covered the basics: creating arrays, accessing the contents of arrays, array lengths, and looping through arrays. In this tutorial, you explore arrays in more depth, and learn how to use various methods of the Array object to manipulate arrays. Extracting sections of an array with slice() You're not limited to accessing single array elements at a time. Thanks to the slice() method, you can grab a whole section of an array at once. slice() has the follow...

   JavaScript,Array,Manipulate,Join,Splice     2011-08-07 01:56:06

  Coming back, Nokia?

Nokia officially unveiled an Windows Phone 8 phone model Lumia 920T in cooperation with China Mobile in yesterday's Global Developer Conference of China Mobile. This is the first to support China Mobile's TD-SCDMA 3G mobile phone network standard in the Windows Phone ecosystem, it that Windows Phone is available in TD camp. Meanwhile, as China Mobile's official custom models, Lumia 920T will be sold using China Mobile's sales channel, this may further promote the sales of Nokia Windows Phone dev...

   Nokia, China Mobile, Lumia 920T,TD-SCDMA     2012-12-06 13:17:24

  Microsoft is the 17th largest contributor to Linux

The Linux Foundation has released 2012 Linux White Paper which analyzes developers and contributors of the Linux kernel from 2.6.36 to 3.2.The top ten contributors are: Red Hat, Intel, Novell, IBM, Texas Instruments, Broadcom, Nokia, Samsung, Oracle, and Google. The software giant Microsoft's contribution ranked at 17, while the company's CEO Steve Ballmer has claimed previously that Linux is a cancer. Microsoft engineers have contributed 688 patches, which are mostly related to Hyper-V vir...

   Linux,Microsoft,Contribution     2012-04-05 07:43:19

  Flash, HTML5 comparison finds neither has performance advantage

A comparison of streaming video via the Adobe Flash and HTML5 formats with numerous different browsers on both Mac and Windows produced wildly different results based on the operating system and browser, making neither a clear winner. The test, from Streaming Learning Center, was conducted in response to recent comments alleged to have been said by Apple co-founder Steve Jobs, in which he reportedly called Flash a "CPU hog." While the test found that HTML5 is significantly more efficient th...

   html5,flash,performance,comparison     2011-07-01 10:08:00

  Convert number to string in C++

Prior to C++11, there is no built-in function in C++ standard library which can be used to convert numbers such as interger and double number to string.  There are many ways which can convert number to string. Since C++ is C compatible, we can use itoa() function to convert an integer to C style string. But this one can only convert integer to string, not double. For different types of numbers, we need to use different functions. string s = string(itoa(a)); Actually, we can also use strings...

   C++,conversion,number,string     2012-08-14 15:52:48